package com.ceiling.bean.promotion.ads.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data@AllArgsConstructor@NoArgsConstructor
public class AdsCreatedByAddPicVO {
    private Integer id;
    private String key;
    private String name;

    //加入类型判断
    private String type;

    private Integer size;
    private String url;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private Date addtime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private Date updatetime;

}
